﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FBB RID: 4027
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueNpcDisappearScRsp : IMessage<RogueNpcDisappearScRsp>, IMessage, IEquatable<RogueNpcDisappearScRsp>, IDeepCloneable<RogueNpcDisappearScRsp>, IBufferMessage
	{
		// Token: 0x170032F8 RID: 13048
		// (get) Token: 0x0600B43B RID: 46139 RVA: 0x001E66CC File Offset: 0x001E48CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueNpcDisappearScRsp> Parser
		{
			get
			{
				return RogueNpcDisappearScRsp._parser;
			}
		}

		// Token: 0x170032F9 RID: 13049
		// (get) Token: 0x0600B43C RID: 46140 RVA: 0x001E66D3 File Offset: 0x001E48D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueNpcDisappearScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170032FA RID: 13050
		// (get) Token: 0x0600B43D RID: 46141 RVA: 0x001E66E5 File Offset: 0x001E48E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueNpcDisappearScRsp.Descriptor;
			}
		}

		// Token: 0x0600B43E RID: 46142 RVA: 0x001E66EC File Offset: 0x001E48EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueNpcDisappearScRsp()
		{
		}

		// Token: 0x0600B43F RID: 46143 RVA: 0x001E66F4 File Offset: 0x001E48F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueNpcDisappearScRsp(RogueNpcDisappearScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B440 RID: 46144 RVA: 0x001E6719 File Offset: 0x001E4919
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueNpcDisappearScRsp Clone()
		{
			return new RogueNpcDisappearScRsp(this);
		}

		// Token: 0x170032FB RID: 13051
		// (get) Token: 0x0600B441 RID: 46145 RVA: 0x001E6721 File Offset: 0x001E4921
		// (set) Token: 0x0600B442 RID: 46146 RVA: 0x001E6729 File Offset: 0x001E4929
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600B443 RID: 46147 RVA: 0x001E6732 File Offset: 0x001E4932
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueNpcDisappearScRsp);
		}

		// Token: 0x0600B444 RID: 46148 RVA: 0x001E6740 File Offset: 0x001E4940
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueNpcDisappearScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B445 RID: 46149 RVA: 0x001E6770 File Offset: 0x001E4970
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B446 RID: 46150 RVA: 0x001E67AF File Offset: 0x001E49AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B447 RID: 46151 RVA: 0x001E67B7 File Offset: 0x001E49B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B448 RID: 46152 RVA: 0x001E67C0 File Offset: 0x001E49C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B449 RID: 46153 RVA: 0x001E67F4 File Offset: 0x001E49F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B44A RID: 46154 RVA: 0x001E6832 File Offset: 0x001E4A32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueNpcDisappearScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B44B RID: 46155 RVA: 0x001E6863 File Offset: 0x001E4A63
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B44C RID: 46156 RVA: 0x001E686C File Offset: 0x001E4A6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040048D5 RID: 18645
		private static readonly MessageParser<RogueNpcDisappearScRsp> _parser = new MessageParser<RogueNpcDisappearScRsp>(() => new RogueNpcDisappearScRsp());

		// Token: 0x040048D6 RID: 18646
		private UnknownFieldSet _unknownFields;

		// Token: 0x040048D7 RID: 18647
		public const int RetcodeFieldNumber = 4;

		// Token: 0x040048D8 RID: 18648
		private uint retcode_;
	}
}
